﻿@using Mulala.Cavan.Presentation.Mvc.Controller
@using Mulala.Cavan.Core.Helper
@using Mulala.Cavan.Domain.MainBoundedContext.Setting
@model Mulala.Cavan.Presentation.Mvc.ViewModel.ICorporationsViewModel
<h1>
    <a href="#" style="color: #000;">金牌家政公司</a><span>@Html.ActionLink("更多公司>>", ActionConst.LIST, ControllerConst.CORPORATION)</span></h1>
<div class="gongsi">
    <ul>
        @{
            var logo = string.Empty;
        }
        @foreach (var corporation in @Model.Corporations)
        {
            logo = corporation.Logo + "_100@100.jpg";
            <li><a href="@corporation.DetailUrl">
                <img src="@logo" alt="公司" /></a><p>
                    @Html.ActionLink(corporation.Item.FullName, ActionConst.DETAIL, ControllerConst.CORPORATION, new { id = corporation.Item.ID })</p>
                <p>
                    类型：
                    @StringHelper.Truncate(corporation.Type, 4)
                </p>
            </li>
        }
    </ul>
</div>
